home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2000 February / PCW_2_2000.ISO / software / sw / notfall / xsetpsdk.exe / examples / testplug Events 2.xpl < prev    next >
Encoding:
Text File  |  1998-09-18  |  1.1 KB  |  45 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 3.1"
  2. "TYPE"="8"
  3. "COUNT"="2"
  4. "TEXT 1"="Button 1"
  5. "TEXT 2"="Button 2"
  6. "UIPATH"="Test Plug-ins"
  7. "NAME"="Event Tester 2 (listbox)"
  8. "LANGUAGE"="VBScript"
  9. "DESCRIPTION 1"="This plug-in shows which events are generated by X-Setup."
  10. "AUTHOR"="Xteq Systems"
  11. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  12.  
  13.  
  14.  
  15. 'Called when the Plugin is started
  16. Sub Plugin_Initialize 
  17.  DebugMsg "Plugin_Initialize invoked"
  18.  
  19.  'add test-values
  20.  SetUIElement 1,"Item 1"
  21.  SetUIElement 2,"Item 2"
  22.  SetUIElement 3,"Item 3"
  23. End Sub
  24.  
  25.  
  26. 'Called when the Plugin should validate the Data the user has entered
  27. Sub Plugin_CheckData(ElementIndex)
  28.  DebugMsg "Plugin_CheckData invoked. ElementIndex: " & ElementIndex
  29. End Sub
  30.  
  31.  
  32. 'Called when the Plugin should apply the changes
  33. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  34.  DebugMsg "Plugin_Apply invoked. ElementIndex: " & ElementIndex & " ElementSubIndex: " & ElementSubIndex
  35. End Sub
  36.  
  37.  
  38. 'Called when the Plugin is about to be removed from memory
  39. Sub Plugin_Terminate 
  40.  DebugMsg "Plugin_Terminate invoked"
  41. End Sub
  42.  
  43.  
  44.  
  45.